package com.fxsh168.server.entitys;

import java.util.List;

/**
 * Created by hasee on 2016/11/21.
 */
public class UpdateVersonEntity<T> {

    /**
     * code : 200
     * message : 版本升级信息获取成功
     * data : [{"id":"1","app_id":"6","version_id":"1.1","version_mini":"1","version_code":"1.1","type":"0","apk_url":"http//120.25.102.30","upgrade_point":"发现新版本","status":"1","create_time":null,"update_time":null,"is_upload":0}]
     */

    private String code;
    private String message;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * app_id : 6
         * version_id : 1.1
         * version_mini : 1
         * version_code : 1.1
         * type : 0
         * apk_url : http//120.25.102.30
         * upgrade_point : 发现新版本
         * status : 1
         * create_time : null
         * update_time : null
         * is_upload : 0
         */

        private String id;
        private String app_id;
        private String version_id;
        private String version_mini;
        private String version_code;
        private String type;
        private String apk_url;
        private String upgrade_point;
        private String status;
        private Object create_time;
        private Object update_time;
        private int is_upload;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getApp_id() {
            return app_id;
        }

        public void setApp_id(String app_id) {
            this.app_id = app_id;
        }

        public String getVersion_id() {
            return version_id;
        }

        public void setVersion_id(String version_id) {
            this.version_id = version_id;
        }

        public String getVersion_mini() {
            return version_mini;
        }

        public void setVersion_mini(String version_mini) {
            this.version_mini = version_mini;
        }

        public String getVersion_code() {
            return version_code;
        }

        public void setVersion_code(String version_code) {
            this.version_code = version_code;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getApk_url() {
            return apk_url;
        }

        public void setApk_url(String apk_url) {
            this.apk_url = apk_url;
        }

        public String getUpgrade_point() {
            return upgrade_point;
        }

        public void setUpgrade_point(String upgrade_point) {
            this.upgrade_point = upgrade_point;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public Object getCreate_time() {
            return create_time;
        }

        public void setCreate_time(Object create_time) {
            this.create_time = create_time;
        }

        public Object getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(Object update_time) {
            this.update_time = update_time;
        }

        public int getIs_upload() {
            return is_upload;
        }

        public void setIs_upload(int is_upload) {
            this.is_upload = is_upload;
        }
    }
}
